import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Poem } from './entities/poem.entity';
import { PoemTag } from '../poem-tags/entities/poem-tag.entity';
import PoemController from './poem.controller';
import { PoemService } from './poem.service';
import { Poet } from '../poet/entities/poet.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Poem, PoemTag, Poet])],
  controllers: [PoemController],
  providers: [PoemService],
})
export default class PoemModule {}
